package com.example.demo.dao;

import org.springframework.stereotype.Repository;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

@Repository
public interface DemoDao {

    /**
     * 获取字典列表
     * @return
     * @throws Exception
     */
    List<Map> loadDictList(Map param) throws Exception;
    /**
     * 获取字典列表
     * @return
     * @throws Exception
     */
    void insertdata(Map param) throws Exception;


    /**
     * 试题一
     * @return
     * @throws Exception
     */
    List<Map> examtest1(Map param) throws Exception;

    /**
     * 试题二
     * @return
     * @throws Exception
     */
    List<LinkedHashMap<String,String>> examtest2(Map<String, String> param);

    List<LinkedHashMap<String, String>> examtest3(Map<String, String> param);
}
